package com.icoolkj.ms.api.rbac.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author icoolkj
 * @version 1.0
 * @description
 * @createDate 2025/02/04 19:56
 */
@Data
public class ClearUserPermissionsCacheDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @NotNull(message = "userId not null")
    private Long userId;

    /**
     * 用户类型
     */
    @NotNull(message = "userType not null")
    private String userType;

}
